专利摘要:
This order provides a service discovery method, a registration center, and a device. The method includes: receiving, through a registration center, a service discovery request sent by a first device, where the service discovery request carries parameter information targeting a service required by the first device, and parameter information targets include at least one of the information about a first mode of transmission, information about an invocation mode, information about a transmission protocol, and information about a second mode of transmission; determine, by the registration center based on a service parameter database, a target service corresponding to the target parameter information, in which the service parameter database is used to store parameter information for different services of a second device; and sending, through the registration center, a service response message to the first device, wherein the service response message includes information describing the target service. In accordance with the modalities of this request, an own service can be found for the first service-based device supporting parameter information, thus improving quality of service.
公开号:BR112019025213A2
申请号:R112019025213-4
申请日:2018-06-01
公开日:2020-06-23
发明作者:Liu Ruizhi;Ruizhi Liu;Zhu Qianghua;Qianghua ZHU;Xiong Chunshan;Chunshan Xiong
申请人:Huawei Technologies Co., Ltd.;
IPC主号:
专利说明:

[0001] [0001] This order refers to the communications field and, more specifically, a service discovery method, a registration center and a device. FUNDAMENTALS
[0002] [0002] Service registration and discovery is a directory service that facilitates service definition, service selection and service execution policy. As a service provider, a service provider registers service information for the service provider with a service registration center. The service registration center primarily provides central storage for all service registration information and is responsible for sending a service registration information update notification to a service consumer in real time. The service consumer obtains the required service registration information from the service registration center, and invokes a service.
[0003] [0003] In a network service system, a network provider publishes a network service provided at a registration center, a customer discovers a necessary network service at the registration center and the customer obtains a network service endpoint . The performance of the service (for example, a sustained protocol and a transmission mode) in a conventional network system is relatively simple. The customer can select a suitable service based on a service identity (Identity, ID). A fixed format is usually used when invoking network service. As the network system is updated, that is, as services tend to be diversified, the customer is unable to find a suitable service through the use of a conventional solution. This deteriorates the quality of the service. SUMMARY
[0004] [0004] This order provides a service discovery method, a registration center and a device, so that a service consumer can find a suitable service, thereby improving the quality of the service.
[0005] [0005] According to a first aspect, a service discovery method is provided. The method includes: receiving, through a registration center, a service discovery request sent by a first device, where the service discovery request carries the target parameter information of a service required by the first device, the target parameter information include at least one of the information about a first mode of transmission, information about a mode of invocation, information about a transmission protocol and information about a second mode of transmission, information about the first mode of transmission is an identifier within the band or an out-of-band identifier, the in-band identifier is used to indicate a transmission mode in which invocation information is added to the data for transmission between the first device and a second device, the out-of-band identifier is used to indicate a mode of transmission in which data and invocation information are transmitted separately Between the first device and the second device, the invocation mode is a- request-a-response or a-request-multiple-response, the transmission protocol is any of a Transfer Application Programming Interface Protocol Representational Status, an Advanced Message Queue Interface Protocol, a Message Queuing Telemetry Transport Protocol and a Remote Procedure Call Protocol and the second transmission mode is transmitting information between the first device and the second device directly or through the use of an intermediate node; determine, by the registration center based on a service parameter database, a target service corresponding to the target parameter information, where the service parameter database is used to store parameter information for different services of the second device ; and sending, through the registration center, a service response message to the first device, where the service response message includes the target service description information.
[0006] [0006] The registration center receives the service discovery request sent by the first device, where the service discovery request carries the service target parameter information needed by the first device and the target parameter information includes at least one among the information about the first mode of transmission, information about the invocation mode, information about the transmission protocol and information about the second mode of transmission; determines, based on the service parameter database, the target service corresponding to the target parameter information; and sends the service response message including the target service description information to the first device. In this way, among the diversified services, a suitable service can be found for the first device based on the service support parameter information. Therefore, the quality of service can be improved and the processing efficiency of the system can be improved.
[0007] [0007] In some possible implementations, prior to the determination, by the registration center based on a service parameter database, of a target service corresponding to the target parameter information, the method additionally includes: receiving, through the registration center , a registration request sent by the second device, where the registration request includes parameter information for a first service from the second device; and store, through the registration center, the parameter information of the first service in the service parameter database.
[0008] [0008] The registration center can store parameter information from a plurality of different services in the parameter database; and after receiving the service discovery request, consult the parameter database for parameter information that satisfies a requirement and determine a service corresponding to parameter information that satisfies the requirement. The registration center grants different registration requests and stores parameter information for a service that can be provided, in order to find, for the first device, the second device that meets the requirement. In this way, a suitable service can be found for the first device, thereby improving the quality of the service.
[0009] [0009] In some possible implementations, the target parameter information includes information about the first mode of transmission; and the determination, by the registration center based on a service parameter database, of a target service corresponding to the target parameter information includes: if the information about the first transmission mode is the in-band identifier, determine, through the registration center, a service corresponding to the parameter information that is in the service parameter database and that includes the in-band identifier, such as the target service.
[0010] [0010] If the information about the first transmission mode included in the target parameter information is the in-band identifier, that is, if the invocation information to be sent by the first device needs to be added to the data, the registration center will select , for the first device, the service for which the invocation information can be carried in the data, so that the first device can obtain high quality service.
[0011] [0011] In some possible implementations, the target parameter information includes information about the invocation mode; and the determination, by the registration center based on a service parameter database, of a target service corresponding to the target parameter information includes: if the invocation mode is a -request-a-response, determine, by the center of registration, a service corresponding to the parameter information that is in the service parameter database and that includes information about a request-a-response, such as the target service.
[0012] [0012] If the information about the invocation mode included in the target parameter information is the information about a -request-a-response, the registry center looks for the service corresponding to the parameter information including information about a -request-a -response, and sends the service description information to the first device, so that the first device can obtain high quality service.
[0013] [0013] In some possible implementations, the target parameter information includes information about the transmission protocol; and the determination, based on a service parameter database, of a target service corresponding to the target parameter information includes: when the transmission protocol is the Advanced Protocol of the Message Queue Interface, determine, by the registration center , a service corresponding to the parameter information that is in the service parameter database and that includes information about the Advanced Protocol of the
[0014] [0014] If the information about the transmission protocol included in the target parameter information is the information about the Advanced Protocol of the Message Queue Interface, the registry center looks for the service corresponding to the parameter information including information about the Advanced Protocol from the Message Queue Interface, to the first device and sends the service description information to the first device, so that the first device can obtain high quality service.
[0015] [0015] In some possible implementations, the target parameter information includes the second mode of transmission; and determining, by the registration center based on a service parameter database, a target service corresponding to the target parameter information includes: determining, by the registration center when the second mode of transmission is transmitting information between the first device and second device through the use of the intermediate node, a service corresponding to the parameter information that is in the service parameter database and that includes the information indicating that the transmission is performed through the use of the intermediate node, as the target service.
[0016] [0016] If the information about the second transmission mode included in the target parameter information is the information indicating that the transmission is carried out using the intermediate node, the registration center seeks the service corresponding to the parameter information including the information which indicate that the transmission is performed through the use of the intermediate node, to the first device and sends the service description information to the first device, so that the first device can obtain high quality service.
[0017] [0017] In some possible implementations, the target parameter information additionally includes location information of the intermediate node and the intermediate node is located on a third party device, a registration center or a second device; and the determination, by the registration center when the second transmission mode performs the transmission through the use of the intermediate node, of a service corresponding to the parameter information that is in the service parameter database and that includes the information indicating that the transmission is performed using the intermediate node, as the target service includes: determining, by the registration center when the second mode of transmission performs the transmission using the intermediate node and the intermediate node is located on the third party device , a service corresponding to the parameter information that is in the service parameter database and that includes the information indicating that the transmission is performed using the intermediate node and that the intermediate node is located on the third party device, such as the target service.
[0018] [0018] If the information about the second transmission mode included in the target parameter information is the information indicating that the transmission is performed using the intermediate node and that the intermediate node is located on the third party device, the registration center will look for the service corresponding to the parameter information including the information indicating that the transmission is performed using the intermediate node and that the intermediate node is located on the third party device, to the first device and sends the service description information to the first device, so that the first device can obtain high quality service.
[0019] [0019] In some possible implementations, the network service system is a mobile edge computing system; the moving edge computing system includes a moving edge orchestrator and a moving edge host; the moving edge host includes a moving edge platform, a first moving edge application and a second moving edge application; the mobile edge platform corresponds to the registration center, the first mobile edge application corresponds to the first device and the second mobile edge application corresponds to the second device; and the mobile edge orchestrator is configured to manage the first mobile edge application and the second mobile edge application.
[0020] [0020] Among the diversified services, a suitable service can be found for the first mobile edge application based on the application services that support parameter information. Especially among application services that support a plurality of interface protocols or different invocation modes, the first mobile edge application can select a satisfactory interface protocol and an invocation mode to transmit the invocation information, thereby improving transmission efficiency.
[0021] [0021] In some possible implementations, the network service system is a system of working group 6 of aspects of services and systems; the system and service aspects 6 workgroup system includes a service log server, a mission critical service and an external application; and the service registration server corresponds to the registration center, the external application corresponds to the first device and the mission critical service corresponds to the second device.
[0022] [0022] In this way, among the diversified services, a suitable service can be found for the external application based on the service support parameter information. In particular, a trusted application or an application in the same domain can directly access the service, while an untrusted application or an application in another domain can access the service only after authentication, format conversion or the like, are performed by an intermediary entity . This improves security performance of the network system.
[0023] [0023] In some possible implementations, the network service system is a system of working group 2 of aspects of services and systems; the system of services and systems aspects working group 2 includes a network function repository function, a first network function instance and a second network function instance; and the network function repository function corresponds to the registration center, the first network function instance corresponds to the first device and the second network function instance corresponds to the second device.
[0024] [0024] In this way, among the diversified services, a suitable service can be found for the first instance of network function based on the service support parameter information. In particular, the selection of an appropriate transmission protocol can normalize the interface invocation, that is, appropriately allocate an interface to improve the service, thereby increasing the processing efficiency of the network system.
[0025] [0025] According to a second aspect, a service discovery method is provided. The method includes: sending, through a first device, a service discovery request, where the service discovery request carries parameter information targeting a service required by the first device and the service discovery request is used to determine, with based on a service parameter database, a target service corresponding to the target parameter information, the target parameter information includes at least one of the information about a first mode of transmission, information about an invocation mode, information about a transmission protocol and information about a second transmission mode, information about the first transmission mode is an in-band identifier or an out-of-band identifier, the in-band identifier is used to indicate a transmission mode in which information invocation are added to the data for transmission between the first device and a second device, hi out-of-band dentifier is used to indicate a mode of transmission in which data and invocation information are transmitted separately between the first device and the second device, the invocation mode is a -request-a-response or a-request- multi-response, the transmission protocol is any of a Representational State Transfer Application Programming Interface Protocol, an Advanced Message Queue Interface Protocol, a Message Queuing Telemetry Transport Protocol and a Remote Procedure Call Protocol and the second mode of transmission is transmitting information between the first device and the second device directly or through the use of an intermediate node; receiving, by the first device, a service response message, where the service response message includes the target service description information; and sending, by the first device, the invocation information to the second device, where the invocation information is used to invoke the target service.
[0026] [0026] The first device sends the service discovery request to a registration center, where the service discovery request carries the service target parameter information needed by the first device and the service discovery request is used to determine, based on the service parameter database, the target service corresponding to the target parameter information, and the target parameter information includes at least one among the information about the first mode of transmission, information about the invocation mode, the information about the transmission protocol and information about the second mode of transmission; and receives the service response message, sent by the registration center, including the description information of the target service. In this way, among the diversified services, a suitable service can be found for the first device based on the service support parameter information. Therefore, the quality of service can be improved and the processing efficiency of the system can be improved.
[0027] [0027] In some possible implementations, when the second transmission mode is transmitting information between the first device and the second device using the intermediate node, the target parameter information additionally includes a location of the intermediate node and the intermediate node is located on a third-party device, a registration center, or a second device.
[0028] [0028] If the information about the second transmission mode included in the target parameter information is information indicating that the transmission is performed using the intermediate node and that the intermediate node is located on the third party device, the first device receives the description information, determined by the registration center through research, of the target service corresponding to the parameter information including the information indicating that the transmission is carried out using the intermediate node and that the intermediate node is located on the third party device. In this way, the first device can obtain high quality service.
[0029] [0029] In some possible implementations, the network service system is a moving edge computing system; the moving edge computing system includes a moving edge orchestrator and a moving edge host; the moving edge host includes a moving edge platform, a first moving edge application and a second moving edge application; the mobile edge platform corresponds to the registration center, the first mobile edge application corresponds to the first device and the second mobile edge application corresponds to the second device; and the mobile edge orchestrator is configured to manage the first mobile edge application and the second mobile edge application.
[0030] [0030] Among the diversified services, a suitable service can be found for the first mobile edge application based on the application service that supports parameter information. Especially among application services that support a plurality of interface protocols or different invocation modes, the first mobile edge application can select a satisfactory interface protocol or invocation mode to transmit the invocation information, thereby improving the transmission efficiency.
[0031] [0031] In some possible implementations, the network service system is a working group 6 system of aspects of services and systems; the system and service aspects 6 workgroup system includes a service log server, a mission critical service and an external application; and the service registration server corresponds to the registration center, the external application corresponds to the first device and the mission critical service corresponds to the second device.
[0032] [0032] In this way, among the diversified services, a suitable service can be found for the external application based on the service support parameter information. In particular, a trusted application or an application in the same domain can directly access the service, while an untrusted application or an application in another domain can access the service only after authentication, format conversion or the like, are performed by an intermediary entity . This improves the security performance of the network system.
[0033] [0033] In some possible implementations, the network service system is a system of working group 2 of aspects of services and systems; the system of services and systems aspects working group 2 includes a network function repository function, a first network function instance and a second network function instance; and the network function repository function corresponds to the registration center, the first network function instance corresponds to the first device and the second network function instance corresponds to the second device.
[0034] [0034] In this way, among the diversified services, a suitable service can be found for the first network function instance based on the service support parameter information. In particular, the selection of an appropriate transmission protocol can normalize interface invocation, that is, appropriately allocate an interface to improve the service, thereby increasing the processing efficiency of the network system.
[0035] [0035] According to a third aspect, a service discovery method is provided. The method includes: sending, via a second device, a registration request to a registration center, where the registration request includes the parameter information of a first service, so that the registration center stores the parameter information of the first service service in a service parameter database, where the service parameter database is used to determine a target service corresponding to the target parameter information, the target parameter information is parameter information for a service required for a first device, target parameter information includes at least one of the information about a first mode of transmission, information about a mode of invocation, information about a protocol of transmission and information about a second mode of transmission, information about the first mode of transmission transmission are an in-band identifier or an out-of-band identifier, the in-band identifier is us To indicate a transmission mode in which invocation information is added to the data for transmission between the first device and the second device, the out-of-band identifier is used to indicate a transmission mode in which the invocation data and information is transmitted separately between the first device and the second device, the invocation mode is one-request-one-response or one-request-multiple-response, the transmission protocol is any one of a Transfer Application Programming Interface Protocol Representational State Protocol, an Advanced Message Queue Interface Protocol, a Message Queuing Telemetry Transport Protocol and a Remote Procedure Call Protocol and the second transmission mode is transmitting information between the first device and the second device directly or through the use of an intermediate node; and receiving, by the second device, the invocation information sent by the first device, where the invocation information is used to invoke the target service.
[0036] [0036] The second device sends the registration request to the registration center, so that the parameter database of the registration center stores parameter information from a plurality of different services. After receiving a service discovery request, the registration center queries the parameter database for parameter information that satisfies a requirement, determines a service corresponding to the parameter information that satisfies the requirement, and sends the service description to the first device. In this way, the first device can invoke service from the second device and therefore the first device can obtain high quality service.
[0037] [0037] In some possible implementations, when the second transmission mode is transmitting information between the first device and the second device using the intermediate node, the target parameter information additionally includes a location of the intermediate node and the intermediate node is located on a third-party device, a registration center, or a second device.
[0038] [0038] If the information about the second transmission mode included in the target parameter information is information indicating that the transmission is carried out using the intermediate node and that the intermediate node is located on the third party device, the registration center determines , by searching, description information of the target service corresponding to the parameter information including information indicating that the transmission is carried out using the intermediate node and that the intermediate node is located on the third party device, to obtain the target service of the second device, so that the first device can be provided with high quality service.
[0039] [0039] In some possible implementations, the network service system is a moving edge computing system; the moving edge computing system includes a moving edge orchestrator and a moving edge host; the moving edge host includes a moving edge platform, a first moving edge application and a second moving edge application; the mobile edge platform corresponds to the registration center, the first mobile edge application corresponds to the first device and the second mobile edge application corresponds to the second device; and the mobile edge orchestrator is configured to manage the first mobile edge application and the second mobile edge application.
[0040] [0040] Among the diverse services, a suitable service can be found for the first mobile edge application based on the application service that supports parameter information. Especially among application services that support a plurality of interface protocols or different invocation modes, the first mobile edge application can select a satisfactory interface protocol or invocation mode to transmit the invocation information, thereby improving the transmission efficiency.
[0041] [0041] In some possible implementations, the network service system is a system of working group 6 of aspects of services and systems; the system and service aspects 6 workgroup system includes a service log server, a mission critical service and an external application; and the service registration server corresponds to the registration center, the external application corresponds to the first device and the mission critical service corresponds to the second device.
[0042] [0042] In this way, among the diversified services, a suitable service can be found for the external application based on the service support parameter information. In particular, a trusted application or an application in the same domain can directly access the service, while an untrusted application or an application in another domain can access the service only after authentication, format conversion or the like, are performed by an intermediary entity . This improves the security performance of the network system.
[0043] [0043] In some possible implementations, the network service system is a group 2 system working on aspects of services and systems; the system of services and systems aspects working group 2 includes a network function repository function, a first network function instance and a second network function instance; and the network function repository function corresponds to the registration center, the first network function instance corresponds to the first device and the second network function instance corresponds to the second device.
[0044] [0044] In this way, among the diversified services, a suitable service can be found for the first network function instance based on the service support parameter information. In particular, the selection of an appropriate transmission protocol can normalize interface invocation, that is, appropriately allocate an interface to improve the service, thereby increasing the processing efficiency of the network system.
[0045] [0045] According to a fourth aspect, a registration center is provided, where the registration center includes modules configured to carry out the method, according to either the first aspect or the possible implementations of the first aspect.
[0046] [0046] According to a fifth aspect, a device is provided, where the device includes modules configured to carry out the method, according to either the second aspect or the possible implementations of the second aspect.
[0047] [0047] According to a sixth aspect, a device is provided, where the device includes modules configured to carry out the method, according to either the third aspect or the possible implementations of the third aspect.
[0048] [0048] According to a seventh aspect, a system is provided, where the system includes: the registration center, according to the fourth aspect, the device, according to the fifth aspect and the device, according to the sixth aspect.
[0049] [0049] According to an eighth aspect, a registration center is provided, including a processor, a memory and a communications interface. The processor is connected to the memory and the communications interface. The memory is configured to store an instruction, the processor is configured to execute the instruction and the communications interface is configured to communicate with another network element under the control of the processor. When the processor executes the instruction stored in memory, the processor is enabled to perform the method, according to either the first aspect or the possible implementations of the first aspect.
[0050] [0050] According to a ninth aspect, a device is provided, including a processor, a memory and a communications interface. The processor is connected to the memory and the communications interface. The memory is configured to store an instruction, the processor is configured to execute the instruction and the communications interface is configured to communicate with another network element under the control of the processor. When the processor executes the instruction stored in memory, the processor is enabled to perform the method, according to either the second aspect or the possible implementations of the second aspect.
[0051] [0051] According to a tenth aspect, a device is provided, including a processor, a memory and a communications interface. The processor is connected to the memory and the communications interface. The memory is configured to store an instruction, the processor is configured to execute the instruction and the communications interface is configured to communicate with another network element under the control of the processor. When the processor executes the instruction stored in memory, the processor is enabled to perform the method, according to either the third aspect or the possible implementations of the third aspect.
[0052] [0052] According to an eleventh aspect, a computer storage medium is provided. The computer storage media stores the program code and the program code is used to instruct to execute an instruction that performs the service discovery method, according to either the first aspect or the possible implementations of the first aspect.
[0053] [0053] According to a twelfth aspect, a computer storage media is provided. The computer storage media stores the program code and the program code is used to instruct to execute an instruction that performs the service discovery method, according to either the second aspect or the possible implementations of the second aspect.
[0054] [0054] According to a thirteenth aspect, a computer storage media is provided. The computer storage media stores the program code and the program code is used to instruct to execute an instruction that performs the service discovery method, according to either the third aspect or the possible implementations of the third aspect.
[0055] [0055] Based on the previous technical solutions, the registration center receives the service discovery request sent by the first device, where the service discovery request carries the service target parameter information required by the first device and the parameter information target include at least one of the information about the first mode of transmission, information about the invocation mode, information about the transmission protocol and information about the second mode of transmission; determines, based on the service parameter database, the target service corresponding to the target parameter information; and sends the service response message including the target service description information to the first device. In this way, among the diversified services, a suitable service can be found for the first device based on the service support parameter information. Therefore, the quality of service can be improved and the processing efficiency of the system can be improved. DESCRIPTION OF THE DRAWINGS
[0056] [0056] FIG. 1 is an architectural diagram of service discovery and registration;
[0057] [0057] FIG. 2 is a schematic flowchart of network service registration and discovery;
[0058] [0058] FIG. 3 is a schematic diagram of a scenario in which service registration and discovery are applied to a mobile edge computing system (Mobile Edge Computing, MEC);
[0059] [0059] FIG. 4 is a schematic diagram of a scenario in which service registration and discovery is applied to a system of work 6 aspects of services and systems (Services and Systems Aspects Work Group, SA);
[0060] [0060] FIG. 5 is a schematic diagram of a scenario where service registration and discovery are applied to an SA2;
[0061] [0061] FIG. 6 is a schematic flowchart of a service discovery method, according to an embodiment of this request;
[0062] [0062] FIG. 7 is a schematic diagram of a mode of transmission, according to an embodiment of this application;
[0063] [0063] FIG. 8 is a schematic diagram of an invocation mode, according to an embodiment of this application;
[0064] [0064] FIG. 9 is a schematic diagram of a transmission protocol, according to an embodiment of this request;
[0065] [0065] FIG. 10 is a schematic diagram of a mode of transmission, according to an embodiment of this application;
[0066] [0066] FIG. 11 is a schematic diagram of an intermediate node location, according to one embodiment of this application;
[0067] [0067] FIG. 12 is a schematic diagram of a service discovery method interaction procedure, according to one embodiment of this request;
[0068] [0068] FIG. 13 is a schematic diagram of an interaction procedure for a service discovery method, according to another modality of this order;
[0069] [0069] FIG. 14 is a schematic diagram of a procedure for interacting with a service discovery method, according to another embodiment of this order;
[0070] [0070] FIG. 15 is a schematic block diagram of a registration center, according to an embodiment of this application;
[0071] [0071] FIG. 16 is a schematic block diagram of a device, according to an embodiment of this application;
[0072] [0072] FIG. 17 is a schematic block diagram of a device, according to another embodiment of this application;
[0073] [0073] FIG. 18 is a schematic block diagram of a system, according to an embodiment of this application;
[0074] [0074] FIG. 19 is a schematic structural diagram of a registration center, according to an embodiment of this application;
[0075] [0075] FIG. 20 is a schematic structural diagram of a device, according to an embodiment of this application; and
[0076] [0076] FIG. 21 is a schematic structural diagram of a device, according to another embodiment of this application. DESCRIPTION OF THE MODALITIES
[0077] [0077] The technical solutions of this application are described below with reference to the attached drawings.
[0078] [0078] FIG. 1 is an architectural diagram of service discovery and registration. As shown in FIG. 1, service discovery and registration is a directory service that facilitates a service definition, service selection and service execution policy. As a service provider, a service provider registers the service provider's service information with a service registration center. The service registration center primarily provides central storage for all service registration information and is responsible for sending a service registration information update notification to a service consumer in real time. The service consumer obtains the required service registration information from the service registration center, and invokes a service.
[0079] [0079] Several elements in a service discovery and registration system are specifically defined as follows.
[0080] [0080] A service (Service) is a loosely coupled, coarse-grained component that can independently implement a logical function and is available for invocation by a service consumer (an application / network element or other component).
[0081] [0081] An end point (End point) is a discovery address notified to a service consumer by a service instance and the service instance uses the address to expose information.
[0082] [0082] Contracts are contracts to which a service and a server invoker adhere, such as a version of the application programming interface (API), a uniform resource identifier directory (Uniform Resource Identifier, URI ), a number of parameters and a message format.
[0083] [0083] A service registry is used when a plurality of service instances are the same or a service instance needs to be generated dynamically. The service instance can provide an endpoint and a service instance contract to the registration center, so that a service invoker finds out if he normally uses the service.
[0084] [0084] FIG. 2 is a schematic flowchart for registering and discovering a network service (Web Service).
[0085] [0085] 201. A network provider publishes a network service provided at a registration center. The network service published by the network provider in the registration center can be information specifically characteristic of the network service, such as at least one of a service identity (Identity, ID), a service name, a version number, a Provider ID, an endpoint, an interface table, or a supplier.
[0086] [0086] 202. A customer discovers a necessary network service at the registration center and, specifically, the registration center searches for the characteristic information of the network service to find the appropriate network service.
[0087] [0087] 203. The client obtains an end point from the network service.
[0088] [0088] FIG. 3 shows a scenario in which service registration and discovery are applied to a mobile edge computing system (Mobile Edge Computing, MEC). As shown in FIG. 3, the MEC system mainly includes a mobile edge orchestrator (Mobile Edge Orchestrator, MEO) and a mobile edge host (Mobile Edge Host). MEO has a main management function in the MEC system. The mobile edge host mainly includes a mobile edge platform (Mobile Edge Platform), a virtualization infrastructure (Virtualization infrastructure) and a mobile edge application (Mobile Edge Application, ME app).
[0089] [0089] The mobile edge platform is a set of basic functions, capable of running the mobile edge application on a specific virtualization infrastructure and makes the mobile edge application capable of providing and using a mobile edge service. The mobile edge application is an application instantiated in the virtualization infrastructure of the mobile edge host based on a MEO configuration or request. The mobile edge application includes a service provider (Service Provider) and a service consumer (Service Consumer). In addition, a Service Registry is located on the mobile edge platform and a service instance can provide an endpoint and a service instance contract for the registration center, so that a service invoker finds out normally uses the service instance.
[0090] [0090] An Mp1 interface and a State Transfer
[0091] [0091] FIG. 4 shows a scenario in which service registration and discovery are applied to a system 6 working group of services and systems aspects (Services and Systems Aspects Work Group, SA). As shown in FIG. 4, the SA6 system includes a mission critical service (Mission Critical Service, MC Service), a service access server, a common main service (common service core, CSC), an external application and an operations support system ( Operation Support System, OSS). The MC service controls the ability of a service to be exposed to the external application through the use of the service access server. The mission-critical service consults and discovers a service on the service access server and then implements service communication through a reused interface.
[0092] [0092] FIG. 5 is a schematic diagram of a scenario in which service registration and discovery are applied to an SA2. As shown in FIG. 5, the SA2 system includes a network function repository function (Network Function Repository Function, NRF), a first network function instance (Network Function, NF) (NF Instance, NFI), a second instance of network function and management and orchestration (Management and Orchestration, MANO). The NRF maintains information about an NFI deployed during the deployment, update and deletion of the network role instance. The NRF supports a service discovery function, receives a network function discovery request from the NFI and provides information found about the NFI to the NFI.
[0093] [0093] In summary, network service registration and discovery can be applied to the mobile edge computing system (Mobile Edge Computing, MEC), the SA6 system and the SA2 system. The MEC system is used as an example. In a conventional MEC system, a service consumer can use only one RESTful API to invoke a service from a service provider, so the network provider and discoverer need not consider a transmission interface. In other words, in the conventional solution, the network provider and the discoverer use the fixed interface.
[0094] [0094] In the European Telecommunications Standards Institute (ETSI) that meets MEC # 8B, an MEC system not only supports a RESTful API, but also supports a layer service interface transport used to support transmission with low latency and a large volume of data, for example, a Message Queuing Telemetry Transport Protocol (MQTT), an Advanced Message Queuing Protocol (AMQP) and a Private Remote Procedure Call Protocol (RPC). In contrast, in conventional technology, an adequate service cannot be found based on a requirement for an interface and, consequently, the quality of the service is reduced.
[0095] [0095] FIG. 6 is a schematic flowchart of a service discovery method, according to an embodiment of this request. As shown in FIG. 6, the method is applied to a network service system. The network service system includes a registration center, a first device and a second device. The method includes the following steps:
[0096] [0096] 601. The registration center receives a service discovery request sent by the first device, where the service discovery request carries target parameter information for a service required by the first device, the target parameter information includes at least one between information about a first transmission mode, information about an invocation mode, information about a transmission protocol and information about a second transmission mode, information about the first transmission mode is an in-band identifier or an out-of-band identifier band, the in-band identifier is used to indicate a transmission mode in which invocation information is added to the data for transmission, the out-of-band identifier is used to indicate a transmission mode in which the data and invocation information are transmitted separately, the invocation mode is a -request-a-response or a -request -multiple-responses, the transmission protocol is any one of a Representational State Transfer Application Programming Interface protocol, an Advanced Message Queue Interface Protocol, a Message Queuing Telemetry Transport Protocol and a Protocol Remote Procedure Call and the second transmission mode performs the transmission directly or through the use of an intermediate node.
[0097] [0097] 602. The registration center determines, based on a service parameter database, a target service corresponding to the target parameter information, where the service parameter database is used to store service parameter information different services from the second device.
[0098] [0098] 603. The registration center sends a service response message to the first device, where the service response message includes the target service description information.
[0099] [0099] 604. The first device sends the invocation information to the second device, where the invocation information is used to invoke the target service.
[0100] [0100] The first device sends the service discovery request to the registration center, where the service discovery request is used to request the service, included in the second device, corresponding to the target parameter information and the service discovery request. carries the target parameter information. The service parameter database stores the parameter information for the different services on the second device and all services are matched one by one for parameter information. The description information for each service corresponding to the parameter information can be specifically a service ID. After receiving the service discovery request, the registration center searches the service parameter database for the target service that satisfies the target parameter information and sends the service response message including the target service description information to the first device, so that the first device can send the invocation information based on the target service description information, to invoke the target service of the second device. In other words, a necessary service can be selected with more precision for the first device in this modality of this order, thereby improving the quality of the service.
[0101] [0101] The parameter information targeting the service required by the first device can be parameter information corresponding to the service required by the first device. For example, the target parameter information can be information about the first mode of transmission, information about the invocation mode, information about the transmission protocol, information about the second mode of transmission or the like that is used when the first device sends the invocation information to the second device after selecting the target service and receiving a response message sent by the second device based on the invocation information.
[0102] [0102] It should be noted that the service discovery request sent by the first device to the registration center can additionally carry at least one of a service ID, a service name, a version number, a provider ID, a point end, an interface table or a supplier.
[0103] [0103] It should be understood that a correspondence between a service and parameter information can be represented using a mapping relationship, in another way or similar. This is not limited in this order.
[0104] [0104] It should also be understood that in the service parameter database, each service corresponds to a part of the parameter information and the parameter information also includes at least one among the information about the first transmission mode, the information about the invocation mode, information about the transmission protocol and information about the second mode of transmission.
[0105] [0105] It should also be understood that the first device can be a hardware device or a software application and the second device can be a hardware device or a software application. In addition, the first device can be the same as the second device.
[0106] [0106] To summarize, according to the service discovery method in this modality of this order, the registry center receives the service discovery request sent by the first device, where the service discovery request carries the target parameter information of the service required by the first device and the target parameter information includes at least one of the information about the first mode of transmission, information about the invocation mode, information about the transmission protocol and information about the second mode of transmission; determines, based on the service parameter database, the target service corresponding to the target parameter information; and sends the service response message including the target service description information to the first device. In this way, among the diversified services, a suitable service can be found for the first device based on the service support parameter information. Therefore, the quality of service can be improved and the processing efficiency of the system can be improved. In addition, according to the service discovery method in this modality of this order, the management and extension of the network system can be facilitated.
[0107] [0107] Optionally, the registration center can receive a registration request, where the registration request includes the parameter information of a first service of the second device; and the registration center stores the parameter information for the first service in the service parameter database. The first service can be any of the services supported by the second device. For specificity, the registration center can store parameter information from a plurality of different services in the parameter database; and after receiving the service discovery request, consult the parameter database for parameter information that satisfies a requirement and determine a service corresponding to the parameter information that satisfies the requirement.
[0108] [0108] It should be noted that when the second device sends the registration request to the registration center, the parameter information included in the registration request is the same as the parameter information included in the service discovery request and also includes at least one of the information about the first mode of transmission, information about the mode of invocation, information about the transmission protocol and information about the second mode of transmission, information about the first mode of transmission is the identifier within band or the out-of-band identifier, the in-band identifier is used to indicate the transmission mode in which the invocation information is added to the data for transmission, the out-of-band identifier is used to indicate the transmission mode in which the invocation data and information are transmitted separately, the invocation mode is a -request-a-response or a -request-multiple-responses, the transmission protocol is any of the Representational State Transfer Application Programming Interface Protocol, the Advanced Message Queue Interface Protocol, the Message Queuing Telemetry Transport Protocol and Remote Procedure Call Protocol and the second transmission mode performs the transmission directly or through the use of the intermediate node.
[0109] [0109] It should be understood that the registration request may additionally carry at least one of a service ID, a service name, a version number, a provider ID, an endpoint, an interface table or a supplier.
[0110] [0110] Optionally, if the target parameter information includes information about the first mode of transmission, the information about the first mode of transmission can be the out-of-band identifier or the in-band identifier. The in-band identifier is used to indicate the mode of transmission in which the invocation information is added to the data for transmission and the out-of-band identifier is used to indicate the mode of transmission in which the data and invocation information is transmitted. separately. If the information about the first transmission mode included in the target parameter information is the identifier within the band, the registration center will determine a service corresponding to the parameter information that is in the service parameter database and that includes the identifier within band, as the target service. Likewise, if the information about the first transmission mode included in the target parameter information is the out-of-band identifier,
[0111] [0111] Specifically, if the information about the first transmission mode included in the target parameter information is the in-band identifier, the invocation information to be sent by the first device to the second device can be added to the data for transmission, for example example, by using a Transmission Control Protocol (TCP) option (option). As shown in FIG. 7, if the information about the first transmission mode included in the target parameter information is the out-of-band identifier, the invocation information and data that is sent by the first device to the second device can be transmitted separately. The registration center selects, for the first device, the second device that satisfies the requirement, so that the first device can obtain high quality service.
[0112] [0112] Optionally, as shown in FIG. 8, the target parameter information may include information about the invocation mode, where the invocation mode is one-request-one-response or one-request-multiple-response. A-request-a-response can be a service that, after the first device sends invocation information to the second device once, the second device responds to a request for invocation information once. In this way, services that need different contracts can be handled separately, thereby increasing processing efficiency. One-request-multiple-responses can be a service that, after the first device sends invocation information to the second device once, the second device can respond to a request for invocation information several times, that is, the validity of a subscription lasts for a long time. This avoids sending invocation information multiple times between devices that need the same service, thereby reducing the power consumption of the first device.
[0113] [0113] If the invocation mode is a-request-a-response, the registration center will determine a service corresponding to the parameter information that is in the service parameter database and that includes the information about a-request-a -response, as the target service. Likewise, if the invocation mode is one-request-multiple-responses, the registration center will determine a service corresponding to the parameter information that is in the service parameter database and that includes the information about a-request- multiple responses, such as the target service.
[0114] [0114] Optionally, the target parameter information includes information about the transmission protocol, where the transmission protocol is any of the RESTful API protocol, the AMQP, the MQTT protocol and the RPC protocol. FIG. 9 is a schematic diagram of a RESTful API protocol and an AMQP protocol. If the transmission protocol is the AMQP protocol, the registration center will determine a service corresponding to the parameter information that is in the service parameter database and that includes information about the AMQP protocol, such as the target service. Likewise, if the transmission protocol is any one of the RESTful API protocol, the MQTT protocol and the RPC protocol, the registration center will determine a service corresponding to the parameter information that is in the service parameter database and that includes information about the corresponding interface protocol, such as the target service.
[0115] [0115] Optionally, the target parameter information includes information about the second transmission mode. As shown in FIG. 10, the second transmission mode performs the transmission directly or through the use of an intermediate node. If the second transmission mode is transmitting directly, the registration center will determine a service corresponding to the parameter information that is in the service parameter database and that includes the information indicating that the transmission is carried out directly, such as the service target. Likewise, if the second transmission mode is carrying out the transmission using the intermediate node, the registration center will determine a service corresponding to the parameter information that is in the service parameter database and that includes the information indicating that the transmission is performed through the use of the intermediate node, as the target service. In this way, the second device can allow a first device corresponding to a trusted application or an application in the same domain to directly access the service, but it allows a first device corresponding to an untrusted application or an application in another domain to access the service only after authentication or format conversion of the message is performed by an intermediary entity. This improves the security performance of the second device.
[0116] [0116] Optionally, the target parameter information additionally includes an intermediate node location and as shown in FIG. 11, the intermediate node is located on a third party device, a registration center or a second device. The determination, by the registration center when the second transmission mode performs the transmission through the use of the intermediate node, of a service corresponding to the parameter information that is in the service parameter database and that includes the information indicating that the transmission is carried out through the use of the intermediate node, as the target service can be specifically: to determine, by the registration center when the second mode of transmission performs the transmission through the use of the intermediate node and the intermediate node is located in the device of third parties, a service corresponding to the parameter information that is in the service parameter database and that includes the information indicating that the transmission is performed using the intermediate node and that the intermediate node is located on the third party device, as the target service.
[0117] [0117] It should be noted that when the target parameter information includes at least two of the information about the first mode of transmission, information about the invocation mode, information about the transmission protocol and information about the second mode of transmission. transmission, the registration center can determine any of the services corresponding to all the information that is in the service parameter database and that is included in the target parameter information, such as the target service; or the registration center can determine a service with a higher proportion among the services corresponding to all information, such as the target service. The system can preset a rule for the registration center to determine a target service. This is not limited in this order.
[0118] [0118] Optionally, the network service system is an MEC mobile edge computing system; the MEC system includes a moving edge orchestrator and a moving edge host; the moving edge host includes a moving edge platform, a first moving edge application and a second moving edge application; the mobile edge platform corresponds to the registration center, the first mobile edge application corresponds to the first device and the second mobile edge application corresponds to the second device; and the mobile edge orchestrator is configured to manage the first mobile edge application and the second mobile edge application.
[0119] [0119] Specifically, the first mobile edge application can select different interface protocols such as the MQTT protocol, AMQP and the RPC Private Remote Procedure Call Protocol. In other words, a suitable service is found based on a requirement for an interface protocol, thereby improving the quality of the service.
[0120] [0120] Optionally, the network service system is an SA6 system. The SA6 system includes a service registration server, a mission-critical service and an external application; and the service registration server corresponds to the registration center, the external application corresponds to the first device and the mission critical service corresponds to the second device.
[0121] [0121] In SA6, the external application located in a trusted domain other than that of the mission critical service uses a service access server. In this case, a service is used to implement an application for users in different trusted domains / deployment domains. A trusted application or an application in the same domain can directly access the service, while an untrusted application or an application in another domain can access the service only after authentication or format conversion of the message is performed by an intermediary entity.
[0122] [0122] Optionally, the network service system is an SA2 system. The SA2 system includes a network function repository function, a first network function instance and a second network function instance; and the network function repository function corresponds to the registration center, the first network function instance corresponds to the first device and the second network function instance corresponds to the second device.
[0123] [0123] In SA2, an attribute of a network function (Network Function, NF) is the same as an attribute of a service and can be a one-to-one mapping relationship between the network function and the service. The NF can be directed to third parties and a network element on a public terrestrial mobile network (Visited Public Land Mobile Network, VPLMN) or it can be directed to a network element on a residential public terrestrial mobile network (Home Public Land Mobile Network, HPLMN) and the way to obtain interfaces and messages may be different. For example, in an evolved packet system (Evolved Packet System, EPS), a message getting the procedure for an S5 interface between a serving gateway (Serving Gateway, S-GW) and an H packet data gateway (Packet Data Gateway, PGW) are different from a message that obtains the procedure for an S8 interface between an S-GW and a V-PGW. A network exposure function (Network Exposure Function, NEF) is targeted at an internal network element and third parties in the future and the ways of obtaining interfaces and messages can also be different. In this way, a second suitable network function instance can be selected for the first network function instance more accurately based on the parameter information, thereby improving the quality of service.
[0124] [0124] To summarize, according to the service discovery method in this modality of this order, the registry center receives the service discovery request sent by the first device, where the service discovery request carries the target parameter information of the service required by the first device and the target parameter information includes at least one of the information about the first mode of transmission, information about the invocation mode, information about the transmission protocol and information about the second mode of transmission; determines, based on the service parameter database, the target service corresponding to the target parameter information; and sends the service response message including the target service description information to the first device. In this way, among the diversified services, a suitable service can be found for the first device based on the service support parameter information. Therefore, the quality of service can be improved and the processing efficiency of the system can be improved.
[0125] [0125] FIG. 12 is a schematic diagram of an interaction procedure for a service discovery method, according to one embodiment of this request. Several of the same terms in this modality have the same meanings as those in the previous modalities.
[0126] [0126] The method can be applied to the MEC system shown in FIG.
[0127] [0127] An application developer can implement two applications, according to a contract (for example, a development manual or the 3rd Generation Partnership Project standard, the 3rd Generation Partnership Project, 3GPP): implement an interface on contract and invoke a related interface function, according to the contract. Before implementing this modality of this order, the MEC system implements both applications on devices in the MEC system through the use of a MEO.
[0128] [0128] 1201. MEO implements a mission critical service application installation package (App package), including an application resource requirement, an application file, a required service description and the like.
[0129] [0129] 1202. After receiving an application installation request, MEO controls the application installation package to generate an application instance from the provider, that is, a service that can be provided, in the second mobile edge application.
[0130] [0130] 1203. The second mobile edge application sends a registration request to the mobile edge platform, where the registration request includes the service support parameter information.
[0131] [0131] Specifically, the parameter information includes at least one of the information about a first mode of transmission, information about an invocation mode, information about a transmission protocol and information about a second mode of transmission, information about the first transmission mode is an in-band identifier or an out-of-band identifier, the in-band identifier is used to indicate a transmission mode in which invocation information is added to the data for transmission, the out-of-band identifier is used to indicate a transmission mode in which the data and invocation information are transmitted separately, the invocation mode is a -request-a-response or a -request-multiple-responses, the transmission protocol is any one of an Interface protocol Representational State Transfer Application Programming, an Advanced Message Queue Interface Protocol, a Pro Message Queuing Telemetry Transport protocol and a Remote Procedure Call Protocol and the second mode of transmission performs the transmission directly or through the use of an intermediate node.
[0132] [0132] 1204. The mobile edge platform stores the service and the service parameter information in a service parameter database. Specifically, the parameter information includes at least one of the information about a first mode of transmission, information about an invocation mode, information about a transmission protocol and information about a second mode of transmission.
[0133] [0133] Because the registration request can be sent to the mobile edge platform for different services, the service parameter database stores a plurality of different services and parameter information corresponding to the services.
[0134] [0134] 1205. After receiving a consumer application instantiation request, MEO can control the application installation package to generate a consumer application instance, that is, a required service, in the first mobile edge application.
[0135] [0135] It should be understood that if the mobile edge platform stored the parameter information for the different services, step 1205 can be performed directly and steps 1201 to 1204 do not need to be performed.
[0136] [0136] 1206. The first mobile edge application sends a service discovery request to the mobile edge platform, where the service discovery request includes the required service parameter information and the parameter information can be represented as information target parameter. Specifically, the target parameter information also includes at least one of the information about the first mode of transmission, information about the invocation mode, information about the transmission protocol and information about the second mode of transmission.
[0137] [0137] 1207. The mobile edge platform determines, based on the service parameter information stored in the service parameter database, a target service that satisfies the target parameter information.
[0138] [0138] 1208. The mobile edge platform sends a service response message to the first mobile edge application, where the service response message includes the target service description information.
[0139] [0139] 1209. The first mobile edge application triggers an invocation procedure based on the service response message.
[0140] [0140] 1210. The first mobile edge application performs the invocation procedure based on the description of the target service in the service response message.
[0141] [0141] Specifically, invocation information can be sent to the second mobile edge application, to invoke the target service in the second mobile edge application. The invocation procedure includes, for example, the preparation of a resource to be requested, the storage of a context, the query for the context and content return or an invocation result.
[0142] [0142] To summarize, according to the service discovery method in this modality of this order, the mobile edge platform receives the service discovery request sent by the first mobile edge application, where the service discovery request carries the information of the service target parameter required by the first mobile edge application and the target parameter information includes at least one of the information about the first mode of transmission, information about the invocation mode, information about the transmission protocol and information about the second mode of transmission; determines, based on the service parameter database, the target service corresponding to the target parameter information; and sends the service response message including the target service description information to the first mobile edge application. In this way, among the diversified services, a suitable service can be found for the first mobile edge application based on the application service that supports the parameter information. Especially among application services that support a plurality of interface protocols or different invocation modes, the first mobile edge application can select a satisfactory interface protocol and the invocation mode to transmit the invocation information, thereby improving transmission efficiency.
[0143] [0143] FIG. 13 is a schematic diagram of an interaction procedure for a service discovery method, according to another modality of this order. Several of the same terms in this modality have the same meanings as those in the previous modalities.
[0144] [0144] The method can be applied to the SA6 system shown in FIG. 4. A registration center can correspond to a service access server, a first device can correspond to an external application used to request a service and a second device can correspond to a mission-critical service used to provide a service . In other words, the external application is a "service consumer" and the mission-critical service is a "service provider".
[0145] [0145] An application developer can implement two applications, according to a contract (for example, a development manual or the 3GPP standard): implement an interface in the contract and invoke a related interface function, according to the contract. Before implementing this modality of this request, the SA6 system implements both applications on the devices in the SA6 system through the use of an OSS.
[0146] [0146] 1301. The OSS implements a mission critical service installation package (MC package).
[0147] [0147] 1302. After receiving an application instantiation request, OSS controls the application installation package to generate a provider application instance, that is, a service that can be provided, in the mission critical service.
[0148] [0148] 1303. The mission-critical service sends a registration request to the service access server, where the registration request includes the service support parameter information.
[0149] [0149] Specifically, the parameter information includes at least one of the information about a first mode of transmission, information about an invocation mode, information about a transmission protocol and information about a second mode of transmission, information about the first transmission mode is an in-band identifier or an out-of-band identifier, the in-band identifier is used to indicate a transmission mode in which invocation information is added to the data for transmission, the out-of-band identifier is used to indicate a transmission mode in which data and invocation information are transmitted separately, the invocation mode is a -request-a-response or a -request-multiple-responses, the transmission protocol is any one of an Interface Protocol Representational State Transfer Application Programming, an Advanced Message Queue Interface Protocol, a Pro Message Queuing Telemetry Transport protocol and a Remote Procedure Call Protocol and the second mode of transmission performs the transmission directly or through the use of an intermediate node.
[0150] [0150] 1304. The service access server stores the service and the service parameter information in a service parameter database. Specifically, the parameter information includes at least one of the information about a first mode of transmission, information about an invocation mode, information about a transmission protocol and information about a second mode of transmission.
[0151] [0151] Because the registration request can be sent to the service access server for different services, the service parameter database stores a plurality of different services and parameter information corresponding to the services.
[0152] [0152] 1305. After receiving an instantiation request from the consumer application, the OSS can control the application installation package to generate an instance of the consumer application, that is, a required service, in the external application.
[0153] [0153] It should be understood that if the service access server has stored parameter information for the different services, step 1305 can be performed directly and steps 1301 to 1304 need not be performed.
[0154] [0154] 1306. The external application sends a service discovery request to the service access server, where the service discovery request includes the required service parameter information and the parameter information can be represented as parameter information target. Specifically, the target parameter information also includes at least one of the information about the first mode of transmission, information about the invocation mode, information about the transmission protocol and information about the second mode of transmission.
[0155] [0155] 1307. The service access server determines, based on the service parameter information stored in the service parameter database, a target service that satisfies the target parameter information.
[0156] [0156] 1308. The service access server sends a service response message to the external application, where the service response message includes the target service description information.
[0157] [0157] 1309. The external application triggers an invocation procedure based on the service response message.
[0158] [0158] 1310. The external application performs the invocation procedure based on the description of the target service in the service response message.
[0159] [0159] Specifically, invocation information can be sent to the mission critical service, to invoke the target service in the mission critical service. The invocation procedure includes, for example, preparing a resource to be requested, storing a context, consulting the context and returning content or an invocation result.
[0160] [0160] To summarize, according to the service discovery method in this modality of this request, the service access server receives the service discovery request sent by the external application, where the service discovery request carries the parameter information target of the service required by the external application and the target parameter information includes at least one of the information about the first mode of transmission, information about the invocation mode, information about the transmission protocol and information about the second mode of transmission streaming; determines, based on the service parameter database, the target service corresponding to the target parameter information; and sends the service response message including the target service description information to the external application. In this way, among the diversified services, a suitable service can be found for the external application based on the service support parameter information. In particular, a trusted application or an application in the same domain can directly access the service, while an untrusted application or an application in another domain can access the service only after authentication, format conversion or the like, are performed by an intermediary entity . This improves the security performance of the network system.
[0161] [0161] FIG. 14 is a schematic diagram of a service discovery method interaction procedure, according to one embodiment of this request. Several of the same terms in this modality have the same meanings as those in the previous modalities.
[0162] [0162] The method can be applied to the SA2 system shown in FIG.
[0163] [0163] An application developer can implement two applications, according to a contract (for example, a development manual or the 3GPP standard): implement an interface in the contract and invoke a related interface function, according to the contract. Before implementing this modality of this request, the SA2 system implements two applications on the devices in the SA2 system through the use of MANO.
[0164] [0164] 1401. MANO implements a network function installation package (Network Function Package, NF package).
[0165] [0165] 1402. After receiving an application launch request, MANO controls the application installation package to generate a provider application instance, that is, a service that can be provided, in the second network function instance .
[0166] [0166] 1403. The second network role instance sends a registration request to the network role repository role, where the registration request includes the service support parameter information.
[0167] [0167] Specifically, the parameter information includes at least one of the information about a first mode of transmission, information about an invocation mode, information about a transmission protocol and information about a second mode of transmission, information about the first transmission mode is an in-band identifier or an out-of-band identifier, the in-band identifier is used to indicate a transmission mode in which invocation information is added to the data for transmission, the out-of-band identifier is used to indicate a transmission mode in which the data and invocation information are transmitted separately, the invocation mode is a -request-a-response or a -request-multiple-responses, the transmission protocol is any one of an Interface protocol Representational State Transfer Application Programming, an Advanced Message Queue Interface Protocol, a Pro Message Queuing Telemetry Transport protocol and a Remote Procedure Call Protocol and the second mode of transmission performs the transmission directly or through the use of an intermediate node.
[0168] [0168] 1404. The network function repository function stores the service and the service parameter information in a service parameter database. Specifically, the parameter information includes at least one of the information about a first mode of transmission, information about an invocation mode, information about a transmission protocol and information about a second mode of transmission.
[0169] [0169] Because registration requests can be sent to the network function repository function for different services, the service parameter database stores a plurality of different services and parameter information corresponding to the services.
[0170] [0170] 1405. After receiving an instantiation request from the consumer application, MANO can control the application installation package to generate an instance of the consumer application, that is, a necessary service, in the first instance of the network function .
[0171] [0171] It should be understood that if the network function repository function stored parameter information for the different services, step 1405 can be performed directly and steps 1401 to 1404 need not be performed.
[0172] [0172] 1406. The first network role instance sends a service discovery request to the network role repository role, where the service discovery request includes the required service parameter information and the parameter information can be represented as target parameter information. Specifically, the target parameter information also includes at least one of the information about the first mode of transmission, information about the invocation mode, information about the transmission protocol and information about the second mode of transmission.
[0173] [0173] 1407. The network function repository function determines, based on the service parameter information stored in the service parameter database, a target service that satisfies the target parameter information.
[0174] [0174] 1408. The network function repository function sends a service response message to the first network function instance, where the service response message includes the target service description information.
[0175] [0175] 1409. The first instance of the network function triggers an invocation procedure based on the service response message.
[0176] [0176] 1410. The first network function instance performs the invocation procedure based on the description of the target service in the service response message.
[0177] [0177] Specifically, invocation information can be sent to the second network function instance, to invoke the target service on the second network function instance. The invocation procedure includes, for example, the preparation of a resource to be requested, the storage of a context, the query for the context and the return of content or an invocation result.
[0178] [0178] To summarize, according to the service discovery method in this modality of this request, the network function repository function receives the service discovery request sent by the first network function instance, where the service discovery request carries the service target parameter information required by the first network function instance and the target parameter information includes at least one of the information about the first mode of transmission, information about the invocation mode, information about the transmission and information on the second mode of transmission; determines, based on the service parameter database, the target service corresponding to the target parameter information; and sends the service response message including the target service description information to the first network function instance. In this way, among the diversified services, a suitable service can be found for the first instance of network function based on the service support parameter information. In particular, the selection of an appropriate transmission protocol can normalize interface invocation, that is, appropriately allocate an interface to improve the service, thereby increasing the processing efficiency of the network system.
[0179] [0179] The previous details of the service discovery method, according to the modalities of this request, and the following describe the service discovery devices, according to the modalities of this request.
[0180] [0180] FIG. 15 is a schematic block diagram of a registration center 1500, according to an embodiment of this application. As shown in FIG. 15, registration center 1500 includes: a receiving module 1510, configured to receive a service discovery request sent by a first device, where the service discovery request carries parameter information targeting a service required by the first device, the target parameter information includes at least one of the information about a first mode of transmission, information about an invocation mode, information about a transmission protocol and information about a second mode of transmission, information about the first mode of transmission is an in-band identifier or an out-of-band identifier, the in-band identifier is used to indicate a transmission mode in which invocation information is added to the data for transmission between the first device and a second device, the out-of-band identifier is used to indicate a mode of transmission in which data and information vocation are transmitted separately between the first device and the second device, the invocation mode is one-request-one-response or one-request-multiple-response, the transmission protocol is any one of an Application Programming Interface protocol Representational State Transfer Protocol, an Advanced Message Queue Interface Protocol, a Message Queuing Telemetry Transport Protocol and a Remote Procedure Call Protocol and the second transmission mode is transmitting information between the first device and the second device directly or through the use of an intermediate node; a 1520 processing module, configured to determine, based on a service parameter database, a target service corresponding to the target parameter information, where the service parameter database is used to store different parameter information second device services; and a sending module 1530, configured to send a service response message to the first device, where the service response message includes the target service description information.
[0181] [0181] The registration center in this modality of this request receives the service discovery request sent by the first device, where the service discovery request carries the service target parameter information needed by the first device and the target parameter information includes at least at least one among the information about the first mode of transmission, information about the method of invocation, information about the transmission protocol and information about the second mode of transmission; determines, based on the service parameter database, the target service corresponding to the target parameter information; and sends the service response message including the target service description information to the first device. In this way, among the diversified services, a suitable service can be found for the first device based on the service support parameter information. Therefore, the quality of service can be improved and the processing efficiency of the system can be improved.
[0182] [0182] Optionally, the receiving module 1510 is additionally configured to receive a registration request sent by the second device, where the registration request includes the parameter information of a first service of the second device; and the processing module 1520 is additionally configured to store the parameter information of the first service in the service parameter database.
[0183] [0183] Optionally, the target parameter information includes information about the first mode of transmission; and the processing module 1520 is specifically configured for: if the information about the first transmission mode is the in-band identifier, determine a service corresponding to the parameter information that is in the service parameter database and that includes the identifier within the band, as the target service.
[0184] [0184] Optionally, the target parameter information includes information about the invocation mode; and processing module 1520 is specifically configured for: if the invocation mode is a -request-a-response, determine a service corresponding to the parameter information that is in the service parameter database and that includes information about a -request-a-response, as the target service.
[0185] [0185] Optionally, the target parameter information includes information about the transmission protocol; and the 1520 processing module is specifically configured for: when the transmission protocol is the Advanced Message Queue Interface Protocol, determine a service corresponding to the parameter information that is in the service parameter database and that includes the information on the Advanced Message Queue Interface Protocol, as the target service.
[0186] [0186] Optionally, the target parameter information includes the second transmission mode; and the processing module 1520 is specifically configured to: determine, to the registration center when the second transmission mode is transmitting information between the first device and the second device through the use of the intermediate node, a service corresponding to the information of parameter that are in the service parameter database and that includes the information indicating that the transmission is performed through the use of the intermediate node, as the target service.
[0187] [0187] Optionally, the target parameter information additionally includes location information of the intermediate node and the intermediate node is located on a third party device, a registration center or a second device; and the 1520 processing module is specifically configured to: determine, when the second transmission mode performs the transmission using the intermediate node and the intermediate node is located on the third party device, a service corresponding to the parameter information that is in the service parameter database and that includes information indicating that the transmission is performed using the intermediate node and that the intermediate node is located on the third party device, as the target service.
[0188] [0188] Optionally, the network service system is a mobile edge computing system; the moving edge computing system includes a moving edge orchestrator and a moving edge host; the moving edge host includes a moving edge platform, a first moving edge application and a second moving edge application; the mobile edge platform corresponds to the registration center, the first mobile edge application corresponds to the first device and the second mobile edge application corresponds to the second device; and the mobile edge orchestrator is configured to manage the first mobile edge application and the second mobile edge application.
[0189] [0189] Optionally, the network service system is a system of working group 6 of aspects of services and systems; the system and service aspects 6 workgroup system includes a service log server, a mission critical service and an external application; and the service registration server corresponds to the registration center, the external application corresponds to the first device and the mission critical service corresponds to the second device.
[0190] [0190] Optionally, the network service system is a system of working group 2 of aspects of services and systems; the system of services and systems aspects working group 2 includes a network function repository function, a first network function instance and a second network function instance; and the network function repository function corresponds to the registration center, the first network function instance corresponds to the first device and the second network function instance corresponds to the second device.
[0191] [0191] To summarize, the registration center in this modality of this request receives the service discovery request sent by the first device, where the service discovery request carries the target service parameter information required by the first device and the parameter information target include at least one of the information about the first mode of transmission, information about the invocation mode, information about the transmission protocol and information about the second mode of transmission; determines, based on the service parameter database, the target service corresponding to the target parameter information; and sends the service response message including the target service description information to the first device. In this way, among the diversified services, a suitable service can be found for the first device based on the service support parameter information. Therefore, the quality of service can be improved and the processing efficiency of the system can be improved.
[0192] [0192] FIG. 16 is a schematic block diagram of a device 1600, according to an embodiment of this application. As shown in FIG. 16, the device is applied to a network service system. The network service system includes a registration center, the device and a second device. The device 1600 corresponds to the first device in the previous modalities and the device 1600 includes: a sending module 1610, configured to send a service discovery request, where the service discovery request carries parameter information targeting a service required by the first device and the service discovery request is used to determine, based on a service parameter database, a target service corresponding to the target parameter information, the target parameter information includes at least one among the information about a first mode of transmission, information about an invocation mode, information about a transmission protocol and information about a second mode of transmission, information about the first mode of transmission is an in-band identifier or an out-of-band identifier, the identifier in-band is used to indicate a mode of transmission in which information from invocation is added to the data for transmission between the first device and the second device, the out-of-band identifier is used to indicate a transmission mode in which data and invocation information is transmitted separately between the first device and the second device, the invocation mode is one-request-one-response or one-request-multiple-response, the transmission protocol is any one of a Representational State Transfer Application Programming Interface protocol, a Advanced Messaging, a Message Queuing Telemetry Transport Protocol and a Remote Procedure Call Protocol and the second mode of transmission is transmitting information between the first device and the second device either directly or through the use of an intermediate node; and a receiving module 1620, configured to receive a service response message, where the service response message includes the target service description information; and the sending module 1610 is additionally configured to send the invocation information to the second device, where the invocation information is used to invoke the target service.
[0193] [0193] To summarize, the first device in this modality of this request sends the service discovery request to the registry center, where the service discovery request carries the service target parameter information required by the first device and the discovery request service is used to determine, based on the service parameter database, the target service corresponding to the target parameter information and the target parameter information includes at least one of the information about the first transmission mode, the information about the invocation mode, information about the transmission protocol and information about the second mode of transmission; and receives the service response message, sent by the registration center, including the description information of the target service. In this way, among the diversified services, a suitable service can be found for the first device based on the service support parameter information. Therefore, the quality of service can be improved and the processing efficiency of the system can be improved.
[0194] [0194] Optionally, when the second transmission mode is transmitting information between the first device and the second device using the intermediate node, the target parameter information additionally includes a location of the intermediate node and the intermediate node is located in a third-party device, a registration center, or a second device.
[0195] [0195] Optionally, the network service system is a mobile edge computing system; the moving edge computing system includes a moving edge orchestrator and a moving edge host; the moving edge host includes a moving edge platform, a first moving edge application and a second moving edge application; the mobile edge platform corresponds to the registration center, the first mobile edge application corresponds to the device and the second mobile edge application corresponds to the second device; and the mobile edge orchestrator is configured to manage the first mobile edge application and the second mobile edge application.
[0196] [0196] Optionally, the network service system is a system of working group 6 of aspects of services and systems; the system and service aspects 6 workgroup system includes a service log server, a mission critical service and an external application; and the service registration server corresponds to the registration center, the external application corresponds to the device and the mission critical service corresponds to the second device.
[0197] [0197] Optionally, the network service system is a system of working group 2 of aspects of services and systems; the system of services and systems aspects working group 2 includes a network function repository function, a first network function instance and a second network function instance; and the network function repository function corresponds to the registration center, the first network function instance corresponds to the device and the second network function instance corresponds to the second device.
[0198] [0198] To summarize, the first device in this modality of this request sends the service discovery request to the registry center, where the service discovery request carries the service target parameter information required by the first device and the discovery request service is used to determine, based on the service parameter database, the target service corresponding to the target parameter information and the target parameter information includes at least one of the information about the first transmission mode, the information about the invocation mode, information about the transmission protocol and information about the second mode of transmission; and receives the service response message, sent by the registration center, including the description information of the target service. In this way, among the diversified services, a suitable service can be found for the first device based on the service support parameter information. Therefore, the quality of service can be improved and the processing efficiency of the system can be improved.
[0199] [0199] FIG. 17 is a schematic block diagram of a device 1700, according to an embodiment of this application. As shown in FIG. 17, the device is applied to a network service system. The network service system includes a registration center, a first device and a device. The 1700 device corresponds to the second device in the previous embodiments and the 1700 device includes:
[0200] [0200] To summarize, the second device in this modality of this request sends the registration request to the registration center, so that the parameter database of the registration center stores parameter information from a plurality of different services. After receiving a service discovery request, the registration center queries the parameter database for parameter information that satisfies a requirement, determines a service corresponding to the parameter information that satisfies the requirement and sends the service description information for the first device. In this way, the first device can invoke service from the second device and therefore the first device can obtain high quality service.
[0201] [0201] Optionally, when the second transmission mode is transmitting information between the first device and the second device through the use of the intermediate node, the target parameter information additionally includes a location of the intermediate node and the intermediate node is located in a third-party device, a registration center, or a device.
[0202] [0202] Optionally, the network service system is a mobile edge computing system; the moving edge computing system includes a moving edge orchestrator and a moving edge host; the moving edge host includes a moving edge platform, a first moving edge application and a second moving edge application; the mobile edge platform corresponds to the registration center, the first mobile edge application corresponds to the first device and the second mobile edge application corresponds to the device; and the mobile edge orchestrator is configured to manage the first mobile edge application and the second mobile edge application.
[0203] [0203] Optionally, the network service system is a system of working group 6 of aspects of services and systems; the system and service aspects 6 workgroup system includes a service log server, a mission critical service and an external application; and the service registration server corresponds to the registration center, the external application corresponds to the first device and the mission critical service corresponds to the device.
[0204] [0204] Optionally, the network service system is a system of working group 2 of aspects of services and systems; the system of services and systems aspects working group 2 includes a network function repository function, a first network function instance and a second network function instance; and the network function repository function corresponds to the registration center, the first network function instance corresponds to the first device and the second network function instance corresponds to the device.
[0205] [0205] To summarize, the second device in this modality of this request sends the registration request to the registration center, so that the parameter database of the registration center stores the parameter information of the plurality of different services. After receiving the service discovery request, the registration center queries the parameter database for parameter information that satisfies the requirement, determines the service corresponding to the parameter information that satisfies the requirement and sends the description information service to the first device. In this way, the first device can invoke service from the second device and therefore the first device can obtain high quality service.
[0206] [0206] FIG. 18 shows a service discovery system 1800, according to an embodiment of this request. The 1800 system includes: registration center 1500 in the mode shown in FIG. 15, device 1600 in the embodiment shown in FIG. 16 and device 1700 in the embodiment shown in FIG. 17.
[0207] [0207] FIG. 19 is a schematic structural diagram of a registration center, according to an embodiment of this application. As shown in FIG. 19, the registration center includes at least one 1902 processor (for example, a general-purpose CPU with computing and processing capabilities, a digital signal processor (DSP), an application-specific integrated circuit (ASIC) or an array field programmable ports (FPGA)). The 1902 processor is configured to manage and program modules and components at the registration center. The processing module 1520 in the embodiment shown in FIG. 15 can be implemented by processor 1902. The registration center additionally includes at least one transceiver 1905 (receiver / transmitter) and memory 1906. Receiving module 1510 and sending module 1530 in the mode shown in FIG. 15 can be implemented by the 1905 transceiver. The registration center components use an internal connection path to communicate with each other and transmit a control signal and / or a data signal.
[0208] [0208] The method disclosed in the modalities of this application can be applied to the 1902 processor or can be used to execute an executable module, such as a computer program, stored in memory
[0209] [0209] In some implementations, the 1906 memory stores a 19061 program and the 1902 processor executes the 19061 program, to perform the following operations: receive a service discovery request sent by a first device, where the service discovery request carries target parameter information for a service required by the first device, target parameter information includes at least one of the information about a first mode of transmission, information about an invocation mode, information about a transmission protocol and information about a second mode transmission, information about the first transmission mode is an in-band identifier or an out-of-band identifier, the in-band identifier is used to indicate a transmission mode in which invocation information is added to the data for transmission between the first device and a second device, the out-of-band identifier is used to indicate a mode of transmission in which data and invocation information are transmitted separately between the first device and the second device, the invocation mode is one-request-one-response or one-request-multiple-responses, the protocol transmission is any of a Representational State Transfer Application Programming Interface protocol, an Advanced Message Queue Interface Protocol,
[0210] [0210] It should be noted that the registration center can be specifically the registration center in the modality shown in FIG. 15 and can be configured to perform each step and / or procedure corresponding to the registration center in the method modality.
[0211] [0211] It can be learned from the previous solution provided in this modality of this request that the service discovery request sent by the first device is received, where the service discovery request carries the service target parameter information needed by the first device and the target parameter information includes at least one of the information about the first mode of transmission, information about the invocation mode, information about the transmission protocol and information about the second mode of transmission; the target service corresponding to the target parameter information is determined based on the service parameter database; and the service response message including the target service description information is sent to the first device. In this way, among the diversified services, a suitable service can be found for the first device based on the service support parameter information. Therefore, the quality of service can be improved and the processing efficiency of the system can be improved.
[0212] [0212] FIG. 20 is a schematic structural diagram of a device, according to an embodiment of this application. As shown in FIG. 20, the device includes at least a 2002 processor (for example, a general purpose CPU with processing computing capabilities, a digital signal processor (DSP), an application specific integrated circuit (ASIC) or a port array field programmable (FPGA)). The 2002 processor is configured to manage and program modules and components on the device. The device additionally includes at least one transceiver 2005 (receiver / transmitter) and a memory 2006. The sending module 1610 and the receiving module 1620 in the mode shown in FIG. 16 can be implemented by the transceiver 2005. The device components use an internal connection path to communicate with each other and transmit a control signal and / or a data signal.
[0213] [0213] The method disclosed in the modalities of this application can be applied to the 2002 processor or can be used to execute an executable module, such as a computer program, stored in memory
[0214] [0214] In some implementations, the 2006 memory stores a 20061 program and the 2002 processor executes the 20061 program, to perform the following operations: send a service discovery request, where the service discovery request carries parameter information targeted by a service required by the device and the service discovery request is used to determine, based on a service parameter database, a target service corresponding to the target parameter information, the target parameter information includes at least one among information about a first transmission mode, information about an invocation mode, information about a transmission protocol and information about a second transmission mode, information about the first transmission mode is an in-band identifier or an out-of-band identifier , the in-band identifier is used to indicate a transmission mode in which invocation information are added to the data for transmission between the first device and a second device, the out-of-band identifier is used to indicate a mode of transmission in which data and invocation information are transmitted separately between the first device and the second device, the invocation mode is one-request-one-response or one-request-multiple-response, the transmission protocol is any one of a Representational State Transfer Application Programming Interface protocol, a Advanced Messaging, a Message Queuing Telemetry Transport Protocol and a Remote Procedure Call Protocol and the second mode of transmission is transmitting information between the first device and the second device either directly or through the use of an intermediate node; receive a service response message, where the service response message includes the target service description information; and sending the invocation information to the second device, where the invocation information is used to invoke the target service.
[0215] [0215] It can be learned from the previous technical solution provided in this modality of this request that the service discovery request is sent to the registration center, where the service discovery request carries the required service target parameter information by first device and the service discovery request is used to determine, based on the service parameter database, the target service corresponding to the target parameter information, and the target parameter information includes at least one among the information about the first mode of transmission, information about the method of invocation, information about the transmission protocol and information about the second mode of transmission; and the service response message, sent by the registration center, including the target service description information is received. In this way, among the diversified services, a suitable service can be found for the first device based on the service support parameter information. Therefore, the quality of service can be improved and the processing efficiency of the system can be improved.
[0216] [0216] FIG. 21 is a schematic structural diagram of a device, according to an embodiment of this application. As shown in FIG. 21, the device includes at least one 2102 processor (for example, a general-purpose CPU with computing and processing capabilities, a digital signal processor (DSP), an application-specific integrated circuit (ASIC) or a port array field programmable (FPGA)). The 2102 processor is configured to manage and program modules and components on the device. The device additionally includes at least one transceiver 2105 (receiver / transmitter) and memory 2106. The sending module 1710 and the receiving module 1720 in the embodiment shown in FIG. 17 can be implemented by transceiver 2105. The device components use an internal connection path to communicate with each other and transmit a control signal and / or a data signal.
[0217] [0217] The method disclosed in the modalities of this application can be applied to the 2102 processor or can be used to execute an executable module, such as a computer program, stored in memory
[0218] [0218] In some implementations, memory 2106 stores a program 21061 and processor 2102 executes program 21061, to perform the following operations: send a registration request to a registration center, where the registration request includes parameter information of a first service, so that the registration center stores the parameter information of the first service in a service parameter database, where the service parameter database is used to determine a target service corresponding to the service information target parameter, target parameter information is parameter information for a service required by a first device, target parameter information includes at least one of the information about a first transmission mode, information about an invocation mode, information about a transmission protocol and information about a second mode of transmission, information about the first mode of transmission ission is an in-band identifier or an out-of-band identifier, the in-band identifier is used to indicate a transmission mode in which invocation information is added to the data for transmission between the first device and the second device, the out-of-band identifier. bandwidth is used to indicate a transmission mode in which data and invocation information are transmitted separately between the first device and the second device, the invocation mode is a- request-a-response or a-request-multiple- In response, the transmission protocol is any of a Representational State Transfer Application Programming Interface protocol, an Advanced Message Queue Interface Protocol, a Message Queuing Telemetry Transport Protocol, and a Call Protocol. Remote procedure and the second transmission mode is transmitting information between the first device and the second undo the device directly or through the use of an intermediate node; and receiving the invocation information sent by the first device, where the invocation information is used to invoke the target service.
[0219] [0219] It can be learned from the previous technical solution provided in this modality of this request that the registration request is sent to the registration center, so that the parameter database of the registration center stores parameter information of a plurality of different services. After receiving a service discovery request, the registration center queries the parameter database for parameter information that satisfies a requirement, determines a service corresponding to the parameter information that satisfies the requirement and sends the service description information for the first device. In this way, the first device can invoke service from the second device and therefore the first device can obtain high quality service.
[0220] [0220] One embodiment of this application additionally provides a computer storage medium and the computer storage medium can store a program instruction to execute any of the previous methods.
[0221] [0221] Optionally, the storage medium can be specifically 1906, 2006 or 2106 memory.
[0222] [0222] A person skilled in the art may be aware that the units and steps of the algorithm in the examples described with reference to the modalities disclosed in this specification can be implemented by electronic hardware or a combination of computer for software and electronic hardware. Whether the functions are performed by hardware or software depends on certain applications and particular restriction projects of the technical solutions. A person skilled in the art may use a different method to implement the functions described for each particular application, but the implementation should not be considered to be beyond the scope of this request.
[0223] [0223] It can be clearly understood by a technician qualified in the subject that, for the purpose of ease and brevity of the description, for detailed work processes of the previous system, apparatus and unit, reference can be made to the corresponding processes in the method modalities previous ones. The details are not described in this report again.
[0224] [0224] In the various modalities provided in this application, it should be understood that the system, apparatus and method disclosed can be implemented in other ways. For example, the described apparatus modalities are merely examples. For example, the unit division is merely a logical function division and can be another division in real implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or unfulfilled. In addition, the mutual couplings displayed or discussed, direct couplings or communication connections can be implemented through some interfaces. Indirect couplings or communication connections between devices or units can be implemented in electrical, mechanical or other forms.
[0225] [0225] The units described as separate parts may or may not be physically separated and the parts displayed as units may or may not be physical units, may be located in one position or may be distributed in a plurality of network units. Some or all of the units can be selected depending on the actual requirements, to obtain the objectives of the solutions of the modalities.
[0226] [0226] In addition, the functional units in the modalities of this application can be integrated into a processing unit or each of the units can exist physically alone, or at least two units can be integrated into one unit.
[0227] [0227] When the function is implemented in the form of a functional software unit and sold or used as a standalone product, the function can be stored on a computer-readable storage medium. Based on such an understanding, the technical solutions of this application essentially or the part that contributes to the prior art or some of the technical solutions can be implemented in a form of a software product. The computer software product is stored on storage media and includes several instructions for instructing a computer device (which can be a personal computer, a server, a network device or the like) to perform all or some of the method steps. in the modalities of this request. The previous storage media includes any media that can store the program code, such as a USB flash drive, a removable hard drive, a read-only memory (Read-Only Memory, ROM), a random access memory Memory, RAM), a magnetic disk or an optical disk.
[0228] [0228] The preceding descriptions are merely specific implementations of this application, which are not intended to limit the scope of protection of this application. Any variation or substitution promptly identified by a technician qualified in the matter within the technical scope disclosed in this order must be within the scope of protection of this order. Therefore, the scope of protection of this claim must be subject to the scope of protection of the claims.
权利要求:
Claims (12)
[1]
1. Service discovery method, CHARACTERIZED by the fact that the method comprises: receiving (601), by a registration center, a service discovery request sent by a first device, in which the service discovery request carries information the target parameter of a service required by the first device, the target parameter information comprises information about an invocation mode, the invocation mode is one-request-one-response or one-request-multiple-response; determine (602), by the registration center based on a service parameter database, a target service corresponding to the target parameter information, in which the service parameter database is used to store parameter information from different second device services; and sending (603), through the registration center, a service response message to the first device, wherein the service response message comprises description information of the target service.
[2]
2. Method, according to claim 1, CHARACTERIZED by the fact that prior to the determination, by the registration center based on a service parameter database, of a target service corresponding to the target parameter information, the method comprises additionally: receiving, through the registration center, a registration request sent by the second device, in which the registration request comprises parameter information of a first service of the second device; and store, through the registration center, the parameter information of the first service in the service parameter database.
[3]
3. Method, according to claim 1 or 2, CHARACTERIZED by the fact that the target parameter information comprises the information about the invocation mode; and the determination, by the registration center based on a service parameter database, of a target service corresponding to the target parameter information comprises: determining, by the registration center, a service corresponding to the parameter information that is in the base service parameter data and that comprises information about a-request-a-response, such as the target service.
[4]
4. Service discovery method, CHARACTERIZED by the fact that it comprises: sending, through a first device, a service discovery request, in which the service discovery request carries parameter information targeting a service required by the first device and the service discovery request is used to determine, based on a service parameter database, a target service corresponding to the target parameter information, the target parameter information comprises information about an invocation mode the invocation mode is one-request-one-answer or one-request-multiple-answer; receiving, by the first device, a service response message, wherein the service response message comprises information describing the target service; and sending, by the first device, the invocation information to a second device, where the invocation information is used to invoke the target service.
[5]
5. Method, according to claim 4, CHARACTERIZED by the fact that a network service system is a mobile edge computing system; the moving edge computing system comprises a moving edge orchestrator and a moving edge host; the mobile edge host comprises a mobile edge platform, a first mobile edge application, and a second mobile edge application; the mobile edge platform corresponds to the registration center, the first mobile edge application corresponds to the first device, and the second mobile edge application corresponds to the second device; and the mobile edge orchestrator is configured to manage the first mobile edge application and the second mobile edge application.
[6]
6. Method, according to claim 4, CHARACTERIZED by the fact that a network service system is a system of working group 6 of aspects of services and systems; the systems and services aspects working group 6 system comprises a service registration server,
a mission-critical service, and an external application; and the service registration server corresponds to the registration center, the external application corresponds to the first device, and the mission critical service corresponds to the second device.
[7]
7. Method, according to claim 4, CHARACTERIZED by the fact that the network service system is a system of work group 2 of aspects of services and systems; the system of service and systems aspects working group 2 comprises a network function repository function, a first network function instance, and a second network function instance; and the network function repository function corresponds to the registration center, the first network function instance corresponds to the first device, and the second network function instance corresponds to the second device.
[8]
8. Communications device, CHARACTERIZED by the fact that it is configured to perform the method as defined in any of claims 1 to 3.
[9]
9. Communications device, CHARACTERIZED by the fact that it is configured to perform the method as defined in any of claims 4 to 7.
[10]
10. Computer-readable storage media, CHARACTERIZED by the fact that the computer-readable storage media stores an instruction, when the instruction runs on a computer, the computer is enabled to perform the methods as defined in any of claims 1 to 3.
[11]
11. Computer-readable storage media, CHARACTERIZED by the fact that the computer-readable storage media stores an instruction, when the instruction runs on a computer, the computer is enabled to perform the methods as defined in any of claims 4 to 7.
[12]
12. Communications system, CHARACTERIZED by the fact that the communications system includes the communications apparatus as defined in claim 8, and the communications apparatus as defined in claim 9.
类似技术:
公开号 | 公开日 | 专利标题
BR112019025213A2|2020-06-23|DISCOVERY METHOD OF SERVICE, REGISTRATION CENTER, AND DEVICE
JP2019041395A|2019-03-14|Virtual network interface objects
US10708376B2|2020-07-07|Message bus service directory
US10375015B2|2019-08-06|Methods and system for allocating an IP address for an instance in a network function virtualization | system
JP2018160272A|2018-10-11|Service layer interworking using mqtt protocol
JP5743239B2|2015-07-01|Technology to control gateway functions to support device management in communication systems
JP2013527651A|2013-06-27|Method and apparatus for managing devices that cannot be directly accessed by device management server
JP2018514162A|2018-05-31|Device and method for adding M2M services
US20210297410A1|2021-09-23|Mec platform deployment method and apparatus
JP6377754B2|2018-08-22|Technology for mapping machine-to-machine communication to different infrastructure networks
EP3531749B1|2020-11-04|Management method, management unit and system for network function
US11032369B1|2021-06-08|System and method for non-disruptive migration of software components to a public cloud system
US20210136716A1|2021-05-06|Mec information obtaining method and apparatus
EP3416351B1|2022-03-09|Implementation method, apparatus and system for remote access
同族专利:
公开号 | 公开日
WO2018219343A1|2018-12-06|
KR102259804B1|2021-06-03|
JP2020522201A|2020-07-27|
CN113162996A|2021-07-23|
CN108989372A|2018-12-11|
CN108989372B|2021-04-09|
US20200106840A1|2020-04-02|
EP3629552B1|2022-02-16|
KR20200012945A|2020-02-05|
EP3629552A4|2020-06-24|
EP3629552A1|2020-04-01|
引用文献:
公开号 | 申请日 | 公开日 | 申请人 | 专利标题

CN1957559A|2004-05-27|2007-05-02|Lg电子株式会社|Home network system|
US7716357B2|2003-10-24|2010-05-11|Microsoft Corporation|Service discovery and publication|
US20070208587A1|2005-12-08|2007-09-06|Arun Sitaraman|Systems, software, and methods for communication-based business process messaging|
WO2011115426A2|2010-03-17|2011-09-22|Lg Electronics Inc.|Method for iptv service discovery and iptv receiver using the same|
US10194414B2|2013-01-07|2019-01-29|Futurewei Technologies, Inc.|Information centric networking based service centric networking|
EP2999185B1|2013-05-16|2019-08-07|LG Electronics Inc.|Method for subscription and notification in m2m communication system and apparatus for same|
US20150019620A1|2013-07-09|2015-01-15|Kaminario Technologies Ltd.|High availability for communications based on remote procedure calls|
CN104426871A|2013-08-29|2015-03-18|中兴通讯股份有限公司|Method and device for realizing remote calling|
WO2016199515A1|2015-06-12|2016-12-15|ソニー株式会社|Device, method and program|
CN105245595B|2015-09-30|2018-07-31|小米科技有限责任公司|service response method and device|
CN105516250B|2015-11-25|2019-03-05|北京邮电大学|Internet of Things service call platform and system|
CN106330398A|2016-08-29|2017-01-11|中国联合网络通信集团有限公司|Method and apparatus for determining data transmission mode of service of Internet of Things|WO2020063044A1|2018-09-29|2020-04-02|深圳前海达闼云端智能科技有限公司|Node communication method, server and client|
CN109857572B|2018-12-29|2022-03-01|阿波罗智能技术有限公司|Method, device and equipment for realizing remote calling and computer readable storage medium|
CN111405635A|2019-01-02|2020-07-10|中国移动通信有限公司研究院|Method, device and equipment for realizing capability opening and computer readable storage medium|
CN111629401B|2019-02-27|2021-11-26|大唐移动通信设备有限公司|Data distribution method and system for edge application|
KR102329222B1|2019-04-04|2021-11-22|한국전자통신연구원|Edge computing apparatus|
CN111835802B|2019-04-18|2021-08-27|大唐移动通信设备有限公司|Communication method and device|
CN110392114B|2019-07-26|2022-02-08|中国工商银行股份有限公司|Service call processing system and method across multiple registration centers|
CN110417904A|2019-08-02|2019-11-05|中国工商银行股份有限公司|A kind of pushed information processing method, apparatus and system|
CN112583873A|2019-09-30|2021-03-30|中国移动通信有限公司研究院|Service discovery method, device and functional network element|
CN110769055A|2019-10-22|2020-02-07|北京地平线机器人技术研发有限公司|Method, device, medium and electronic equipment for realizing service discovery|
WO2021083926A1|2019-10-31|2021-05-06|Telefonaktiebolaget Lm Ericsson |Methods and apparatuses for network function discovery with preferred api version|
EP3863272A1|2020-02-04|2021-08-11|Nokia Technologies Oy|Notifications sent with indirect communication in sba|
CN111865746A|2020-06-19|2020-10-30|苏宁云计算有限公司|System development method and device based on loop bus|
US20220029865A1|2020-07-22|2022-01-27|Inphi Corporation|Optimizing host / module interface|
CN112152856B|2020-09-25|2021-10-01|广州爱浦路网络技术有限公司|Edge server management system and method|
法律状态:
2021-11-03| B350| Update of information on the portal [chapter 15.35 patent gazette]|
优先权:
申请号 | 申请日 | 专利标题
CN201710408088.4A|CN108989372B|2017-06-02|2017-06-02|Service discovery method, registration center and equipment|
CN201710408088.4|2017-06-02|
PCT/CN2018/089502|WO2018219343A1|2017-06-02|2018-06-01|Method, registration center and device for service discovery|
[返回顶部]